<template>
    <div>
        <h3>爸爸的信息</h3>
        爸爸有{{num}}个儿子
        <Child name="Jack" sex="男" age="18"></Child>
    </div>
</template>

<script>
import Child from './Child.vue';

export default {
    name: 'Father1',
    components: {Child},
    data() {
        return {
            num: 1
        }
    }
}
</script>

<style>

</style>